//
//  MController.h
//  Mapper
//
//  Created by Steven Troughton-Smith on 30/06/2007.
//  Copyright 2007 __MyCompanyName__. All rights reserved.
//

#import <Cocoa/Cocoa.h>
#import <WebKit/WebKit.h>

@interface MController : NSObject {
	IBOutlet NSWindow *mainWindow;
	IBOutlet WebView* mapView;
	WebScriptObject *scriptObject;

	IBOutlet NSWindow *markerWindow;
	IBOutlet NSTextField *markerTitleField;
	IBOutlet NSSlider *zoomSlider;
	
	NSString *droppedPinsPath;
	
	NSMutableArray *droppedPins;
	IBOutlet NSToolbarItem *_searchToolbarItem;
}
-(IBAction)dropPin:(id)sender;
-(IBAction)changeView:(id)sender;
-(IBAction)search:(id)sender;
-(IBAction)commitDropPin:(id)sender;
-(IBAction)cancelDropPin:(id)sender;
-(IBAction)setZoomLevel:(id)sender;
-(IBAction)loadBookmarkedPins:(id)sender;

@end

